package com.runoob.food.burger;

import com.runoob.food.burger.Burger;
import com.runoob.packing.Packing;

/**
 * 蔬菜汉堡包
 * <p>
 *
 * </p>
 *
 * @author zenglei
 * @date 2023/05/30/ 15:56
 */
public class VegBurger extends Burger {
    @Override
    public String name() {
        return "蔬菜汉堡包";
    }

    @Override
    public float price() {
        return 2.5f;
    }

    /**
     * 重写默认的打包方式
     * @return
     */
    @Override
    public Packing packing() {
        return super.packing();
    }
}
